public class Father {
   Y y = new Y() ;

   Father(){
       System.out.println("f");
   }

    public static void main(String[] args) {
        new Sun() ;
    }

}
class Y{

    Y(){
        System.out.println("y");
    }

        }
class Sun extends Father{

    Sun(){
        System.out.println("S");
    }

}
